/**
 * 
 */
package com.planner.core.action.search.form;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.planner.core.vo.GraphNode;
import com.planner.core.vo.NodeType;

/**
 * @author Sangharsh
 *
 */
public class SearchRouteForm extends ActionForm {
	private String toStr;
	private String fromStr;
	private int from;
	private int to;
	private Long originType;
	private Long destinationType;
	private List<NodeType> types = new ArrayList<NodeType>(); 
	private Long[] modes;
	
	private List<GraphNode> path;
	/**
	 * @return the from
	 */
	public int getFrom() {
		return from;
	}
	/**
	 * @param from the from to set
	 */
	public void setFrom(int from) {
		this.from = from;
	}
	/**
	 * @return the to
	 */
	public int getTo() {
		return to;
	}
	/**
	 * @param to the to to set
	 */
	public void setTo(int to) {
		this.to = to;
	}
	/**
	 * @return the originType
	 */
	public Long getOriginType() {
		return originType;
	}
	/**
	 * @param originType the originType to set
	 */
	public void setOriginType(Long originType) {
		this.originType = originType;
	}
	/**
	 * @return the destinationType
	 */
	public Long getDestinationType() {
		return destinationType;
	}
	/**
	 * @param destinationType the destinationType to set
	 */
	public void setDestinationType(Long destinationType) {
		this.destinationType = destinationType;
	}
	/**
	 * @return the types
	 */
	public List<NodeType> getTypes() {
		return types;
	}
	/**
	 * @param types the types to set
	 */
	public void setTypes(List<NodeType> types) {
		this.types = types;
	}
	/**
	 * @return the modes
	 */
	public Long[] getModes() {
		return modes;
	}
	/**
	 * @param modes the modes to set
	 */
	public void setModes(Long[] modes) {
		this.modes = modes;
	}
	/**
	 * @return the toStr
	 */
	public String getToStr() {
		return toStr;
	}
	/**
	 * @param toStr the toStr to set
	 */
	public void setToStr(String toStr) {
		this.toStr = toStr;
	}
	/**
	 * @return the fromStr
	 */
	public String getFromStr() {
		return fromStr;
	}
	/**
	 * @param fromStr the fromStr to set
	 */
	public void setFromStr(String fromStr) {
		this.fromStr = fromStr;
	}
	/**
	 * @return the path
	 */
	public List<GraphNode> getPath() {
		return path;
	}
	/**
	 * @param path the path to set
	 */
	public void setPath(List<GraphNode> path) {
		this.path = path;
	}
	
}
